﻿using System;
namespace ly.Model
{
	/// <summary>
	/// Comment:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Comment
	{
		public Comment()
		{}
		#region Model
		private int _commentid;
		private int _workid;
		private string _workname;
		private string _username;
		private string _commentcontent;
		private DateTime _commenttime;
		/// <summary>
		/// 作品评论编号，主键及标识
		/// </summary>
		public int CommentID
		{
			set{ _commentid=value;}
			get{return _commentid;}
		}
		/// <summary>
		/// 作品编号
		/// </summary>
		public int WorkID
		{
			set{ _workid=value;}
			get{return _workid;}
		}
		/// <summary>
		/// 作品名字
		/// </summary>
		public string WorkName
		{
			set{ _workname=value;}
			get{return _workname;}
		}
		/// <summary>
		/// 用户名
		/// </summary>
		public string UserName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 评论内容
		/// </summary>
		public string CommentContent
		{
			set{ _commentcontent=value;}
			get{return _commentcontent;}
		}
		/// <summary>
		/// 评论时间
		/// </summary>
		public DateTime CommentTime
		{
			set{ _commenttime=value;}
			get{return _commenttime;}
		}
		#endregion Model

	}
}

